package com.foreverwin.mes.meapi.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.meapi.model.UserGroup;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 用户组 服务类
 * </p>
 *
 * @author Max
 * @since 2020-03-27
 */
public interface UserGroupService extends IService<UserGroup> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<UserGroup> selectPage(FrontPage<UserGroup> frontPage, UserGroup userGroup);

    List<UserGroup> selectList(UserGroup userGroup);
}